project(WebKit)

set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "605.1.33")

add_framework(WebKit
    FAT
    CURRENT_VERSION
    VERSION "A"

    SOURCES
        src/WebKit.m
        src/_WKActivatedElementInfo.m
        src/_WKApplicationManifest.m
        src/_WKAttachmentDisplayOptions.m
        src/_WKAttachment.m
        src/_WKAutomationSession.m
        src/_WKAutomationSessionConfiguration.m
        src/_WKContextMenuElementInfo.m
        src/_WKDownload.m
        src/_WKExperimentalFeature.m
        src/_WKFrameHandle.m
        src/_WKHitTestResult.m
        src/_WKLinkIconParameters.m
        src/_WKProcessPoolConfiguration.m
        src/_WKRemoteObjectInterface.m
        src/_WKRemoteObjectRegistry.m
        src/_WKRemoteWebInspectorViewController.m
        src/_WKSessionState.m
        src/_WKThumbnailView.m
        src/_WKUserContentExtensionStore.m
        src/_WKUserContentFilter.m
        src/_WKUserContentWorld.m
        src/_WKUserInitiatedAction.m
        src/_WKUserStyleSheet.m
        src/_WKVisitedLinkStore.m
        src/_WKWebsiteDataSize.m
        src/_WKWebsiteDataStore.m
        src/_WKWebsiteDataStoreConfiguration.m
        src/_WKWebsitePolicies.m
        src/WKCustomProtocolLoader.m
        src/WKCustomProtocol.m
        src/WKNetworkSessionDelegate.m
        src/WKPDFPluginAccessibilityObject.m
        src/WKPDFPluginScrollbarLayer.m
        src/WKPDFLayerControllerDelegate.m
        src/WKAnimationDelegate.m
        src/WKPlaceholderModalWindow.m
        src/WKRemoteWebInspectorProxyObjCAdapter.m
        src/WKLayerHostView.m
        src/WKSwipeCancellationTracker.m
        src/WKUserDataWrapper.m
        src/WKSelectionHandlerWrapper.m
        src/WKMenuTarget.m
        src/WKWebInspectorProxyObjCAdapter.m
        src/WKPaymentAuthorizationViewControllerDelegate.m
        src/WKAccessibilitySettingsObserver.m
        src/WKWindowVisibilityObserver.m
        src/WKEditCommandObjC.m
        src/WKEditorUndoTargetObjC.m
        src/WKFlippedView.m
        src/WKResponderChainSink.m
        src/WKTextListTouchBarViewController.m
        src/WKTextTouchBarItemController.m
        src/WKAccessibilityWebPageObjectBase.m
        src/WKAccessibilityWebPageObject.m
        src/WKBackForwardList.m
        src/WKBackForwardListItem.m
        src/WKBrowsingContextController.m
        src/WKBrowsingContextGroup.m
        src/WKBrowsingContextHandle.m
        src/WKConnection.m
        src/WKContentRuleList.m
        src/WKContentRuleListStore.m
        src/WKDOMDocument.m
        src/WKDOMElement.m
        src/WKDOMNode.m
        src/WKDOMRange.m
        src/WKDOMText.m
        src/WKDOMTextIterator.m
        src/WKFrameInfo.m
        src/WKFullKeyboardAccessWatcher.m
        src/WKFullScreenWindowController.m
        src/WKHTTPCookieStore.m
        src/WKAnimationController.m
        src/WKImmediateActionController.m
        src/WKInspectorViewController.m
        src/WKInspectorWKWebView.m
        src/WKNavigation.m
        src/WKNavigationAction.m
        src/WKNavigationData.m
        src/WKNavigationResponse.m
        src/WKNSArray.m
        src/WKNSData.m
        src/WKNSDictionary.m
        src/WKNSError.m
        src/WKNSNumber.m
        src/WKNSString.m
        src/WKNSURL.m
        src/WKNSURLAuthenticationChallenge.m
        src/WKNSURLAuthenticationChallengeSender.m
        src/WKNSURLRequest.m
        src/WKObject.m
        src/WKOpenPanelParameters.m
        src/WKObservablePageState.m
        src/WKPreferences.m
        src/WKPrintingView.m
        src/WKProcessGroup.m
        src/WKProcessPool.m
        src/WKReloadFrameErrorRecoveryAttempter.m
        src/WKRemoteObject.m
        src/WKRemoteObjectEncoder.m
        src/WKRemoteObjectDecoder.m
        src/WKScriptMessage.m
        src/WKSecurityOrigin.m
        src/WKSharingServicePickerDelegate.m
        src/WKSnapshotConfiguration.m
        src/WKTextFinderMatch.m
        src/WKTextFinderClient.m
        src/WKTextInputView.m
        src/WKTextInputPanel.m
        src/WKTextInputWindowController.m
        src/WKTypeRefWrapper.m
        src/WKURLSchemeTaskImpl.m
        src/WKUserContentController.m
        src/WKUserScript.m
        src/WKViewData.m
        src/WKView.m
        src/WKViewLayoutStrategy.m
        src/WKViewViewSizeLayoutStrategy.m
        src/WKViewFixedSizeLayoutStrategy.m
        src/WKViewDynamicSizeComputedFromViewScaleLayoutStrategy.m
        src/WKViewDynamicSizeComputedFromMinimumDocumentSizeLayoutStrategy.m
        src/WKWebProcessBundleParameters.m
        src/WKWebProcessPlugInController.m
        src/WKWebProcessPlugInBrowserContextController.m
        src/WKWebProcessPlugInFrame.m
        src/WKWebProcessPlugInHitTestResult.m
        src/WKWebProcessPlugInNodeHandle.m
        src/WKWebProcessPlugInPageGroup.m
        src/WKWebProcessPlugInRangeHandle.m
        src/WKWebProcessPlugInScriptWorld.m
        src/WKWebsiteDataRecord.m
        src/WKWebsiteDataStore.m
        src/WKWebView.m
        src/WKWebViewConfiguration.m
        src/WKWindowFeatures.m

    DEPENDENCIES
        system
        objc
        Foundation
)
